package cn.com.smart.module.xman.etlMail.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 邮件列表 etl_mail
 * 
 * @author xman
 * @date 2019-06-10
 */
public class EtlMail /* extends BaseEntity */
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 收件人，多个用';'符号隔开 */
	private String toAddress;
	/** 抄送人，多个用';'符号隔开 */
	private String ccAddress;
	/** 邮件主题 */
	private String subject;
	/** 附件，多个用';'符号隔开 */
	private String appendix;
	/** 邮件正文 */
	private String mailBody;
	/** 发件人 */
	private Long sender;
	/** 脚本名称 */
	private String scriptName;
	/** 脚本用途 */
	private String scriptUsage;
	/** 脚本内容*/
	private String scriptContent;
	/** 脚本分层 */
	private Integer layer;
	/** 计划开始时间 */
	private Integer planningStartTime;
	/** 计划结束时间 */
	private Integer planningEndTime;
	/** 实际开始时间 */
	private Integer realStartTime;
	/** 实际结束时间 */
	private Integer realEndTime;
	/** 状态 */
	private Integer status;
	/** 运行次数 */
	private Integer runs;
	/** 邮件发送时间 */
	private Integer sendTime;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setToAddress(String toAddress) 
	{
		this.toAddress = toAddress;
	}

	public String getToAddress() 
	{
		return toAddress;
	}
	public void setCcAddress(String ccAddress) 
	{
		this.ccAddress = ccAddress;
	}

	public String getCcAddress() 
	{
		return ccAddress;
	}
	public void setSubject(String subject) 
	{
		this.subject = subject;
	}

	public String getSubject() 
	{
		return subject;
	}
	public void setAppendix(String appendix) 
	{
		this.appendix = appendix;
	}

	public String getAppendix() 
	{
		return appendix;
	}
	public void setMailBody(String mailBody) 
	{
		this.mailBody = mailBody;
	}

	public String getMailBody() 
	{
		return mailBody;
	}
	public void setSender(Long sender) 
	{
		this.sender = sender;
	}

	public Long getSender() 
	{
		return sender;
	}
	public void setScriptName(String scriptName) 
	{
		this.scriptName = scriptName;
	}

	public String getScriptName() 
	{
		return scriptName;
	}
	public void setScriptUsage(String scriptUsage) 
	{
		this.scriptUsage = scriptUsage;
	}

	public String getScriptUsage() 
	{
		return scriptUsage;
	}
	public void setScriptContent(String scriptContent) 
	{
		this.scriptContent = scriptContent;
	}

	public String getScriptContent() 
	{
		return scriptContent;
	}
	
	public Integer getLayer() {
		return layer;
	}

	public void setLayer(Integer layer) {
		this.layer = layer;
	}

	public void setPlanningStartTime(Integer planningStartTime) 
	{
		this.planningStartTime = planningStartTime;
	}

	public Integer getPlanningStartTime() 
	{
		return planningStartTime;
	}
	public void setPlanningEndTime(Integer planningEndTime) 
	{
		this.planningEndTime = planningEndTime;
	}

	public Integer getPlanningEndTime() 
	{
		return planningEndTime;
	}
	public void setRealStartTime(Integer realStartTime) 
	{
		this.realStartTime = realStartTime;
	}

	public Integer getRealStartTime() 
	{
		return realStartTime;
	}
	public void setRealEndTime(Integer realEndTime) 
	{
		this.realEndTime = realEndTime;
	}

	public Integer getRealEndTime() 
	{
		return realEndTime;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setRuns(Integer runs) 
	{
		this.runs = runs;
	}

	public Integer getRuns() 
	{
		return runs;
	}
	public void setSendTime(Integer sendTime) 
	{
		this.sendTime = sendTime;
	}

	public Integer getSendTime() 
	{
		return sendTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("toAddress", getToAddress())
            .append("ccAddress", getCcAddress())
            .append("subject", getSubject())
            .append("appendix", getAppendix())
            .append("mailBody", getMailBody())
            .append("sender", getSender())
            .append("scriptName", getScriptName())
            .append("scriptUsage", getScriptUsage())
            .append("scriptContent", getScriptContent())
            .append("planningStartTime", getPlanningStartTime())
            .append("planningEndTime", getPlanningEndTime())
            .append("realStartTime", getRealStartTime())
            .append("realEndTime", getRealEndTime())
            .append("status", getStatus())
            .append("runs", getRuns())
            .append("sendTime", getSendTime())
            .toString();
    }
}
